//
//  ViewController.m
//  GMNHeaderFile
//
//  Created by 密码123 on 15/12/16.
//  Copyright © 2015年 gmn_dark. All rights reserved.
//

#import "ViewController.h"
#import "UIViewController+Test.h"
#import "GMNModel.h"
#import "UIButton+RepeatClick.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewWillAppear:(BOOL)animated
{
    
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"ss";

//    NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES],@"key1",[NSNumber numberWithDouble:1.00f],@"key2",[NSNumber numberWithInt:1],@"key3",[NSNumber numberWithFloat:33.0f], @"key4", nil];
////    NSDictionary *dic = @{@"name":@1};
//    GMNModel *mode = [[GMNModel alloc ] initWithDictionary:dic];
//    DLog(@"%@",mode.name);
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [self.view addSubview:button];
    button.backgroundColor = [UIColor brownColor];
    [button addTarget:self action:@selector(test) forControlEvents:UIControlEventTouchUpInside];
    button.frame = CGRectMake(100, 100, 100, 100);
}

- (void)test
{
    DLog(@"click");
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
